package com.slmxz.tms.common.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @Author：albert
 * @Date：2024/9/27 22:25
 */
@Schema(description ="查询条件")
@Getter
@Setter
@Accessors(chain = true)
public class Query {
    @Schema(description = "当前页")
    private Long pageNum = 1L;

    @Schema(description = "每页显示数量")
    private Long pageSize = 10L;

    @Schema(hidden = true,description = "自定义按升序排序")
    private String ascs;

    @Schema(hidden = true,description = "自定义按倒序排序")
    private String descs;
}
